
<script type="text/javascript">
    function secBoard3(n,url)
{
    var leg=document.getElementById('naa-table').getElementsByTagName('li').length;
    for(i=0;i<leg;i++)
    
    var mainleg=document.getElementById('tabb-content').getElementsByTagName('div').length;
    for(i=0;i<mainleg;i++)
    document.getElementById('tabb-content').getElementsByTagName('div')[i].style.display="none";
    document.getElementById('tabb-content').getElementsByTagName('div')[n].style.display="block";
    return false;

}
</script>
<?php 
        $courseid = $_GET['courseid'];
        $sql_course = "select * from nettteach_course where id = ".$courseid;
        $result_course = $db ->query($sql_course);
        while($row_course = $db ->fetch_array($result_course))
        {
?>
<div id="sidebar_left">
			<dl>
				<dt>
					<a href="#"><?php echo(fs_get_objinfo('nettteach_course', 'id', $courseid,'title'))?></a>
				</dt>
				<dd  style="height:450px">
					<ul id="naa_table">
                        <li  class="active" onclick='return secBoard3(0)'>
                            <a  class="article_golink" href="#" style="color:blue">课程介绍</a> 
                        </li>
                        <li onclick='return secBoard3(1)'>
                            <a class="article_golink" href="#" style="color:blue">教学大纲</a> 
                        </li>
                        <li onclick='return secBoard3(2)'>
                            <a  class="article_golink" href="#" style="color:blue">教学日历</a> 
                        </li>
                        <li onclick='return secBoard3(3)'>
                            <a class="article_golink" href="#" style="color:blue">教学信息</a> 
                        </li>
                        <li onclick='return secBoard3(4)'>
                            <a class="article_golink" href="#" style="color:blue">教学视频</a> 
                        </li>
					</ul>
				</dd>
			</dl>
</div>
<?php }?>